define("vs/workers-DcJshg-q",["exports","./editor.api-CalNCsUg"],function(e,r){"use strict";let o;o="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name&&void 0!==globalThis.workerttPolicy?globalThis.workerttPolicy:function(e,r){const o=globalThis.MonacoEnvironment;if(o?.createTrustedTypesPolicy)try{return o.createTrustedTypesPolicy(e,r)}catch(e){return void console.error(e)}try{return globalThis.trustedTypes?.createPolicy(e,r)}catch(e){return void console.error(e)}}("defaultWorkerFactory",{createScriptURL:e=>e}),e.createWebWorker=function(e){const t=Promise.resolve(function(e){const r=e.label,t=globalThis.MonacoEnvironment;if(t){if("function"==typeof t.getWorker)return t.getWorker("workerMain.js",r);if("function"==typeof t.getWorkerUrl){const e=t.getWorkerUrl("workerMain.js",r);return new Worker(o?o.createScriptURL(e):e,{name:r,type:"module"})}}if(e.createWorker)return e.createWorker();throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}({label:e.label??"monaco-editor-worker",moduleId:e.moduleId,createWorker:e.createWorker})).then(r=>(r.postMessage("ignore"),r.postMessage(e.createData),r));return r.editor.createWebWorker({worker:t,host:e.host,keepIdleModels:e.keepIdleModels})}});